package com.example.logining.service;

import com.example.logining.domain.dto.UserRegistrationDTO;
import com.example.logining.domain.vo.LoginUserVO;

/**
 * @title: UserService
 * @author: wywang
 * @date: 2024/11/09
 * @description:
 **/
public interface UserService {

    /**
     * 登录
     * @param username
     * @param rawPassword
     * @return
     */
    LoginUserVO login(String username, String rawPassword);

    /**
     * 注册
     * @param username
     * @param rawPassword
     */
    void registerUser(UserRegistrationDTO registrationUser);

    void logout();
}
